package com.bwf.service;

import com.bwf.dao.CategoryDao;
import com.bwf.po.Category;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Category 商品分类模块 业务逻辑层 实现类
 */
@Service("categoryService")
public class CategoryServiceImpl implements CategoryService {

    @Resource
    private CategoryDao categoryDao;

    @Override
    public List<Category> getCategoryList() {
        return categoryDao.getCategoryList();
    }
}
